﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.DOM.HTML
{
    public static class HTMLConstants
    {
        #region HTML Attribute Names

        public const string HTML_ATT_ABBR = "abbr";
        public const string HTML_ATT_ACCESSKEY = "accesskey";
        public const string HTML_ATT_ACCEPT = "accept";
        public const string HTML_ATT_ACCEPTCHARSET = "accept-charset";
        public const string HTML_ATT_ACTION = "action";
        public const string HTML_ATT_ALIGN = "align";
        public const string HTML_ATT_ALINK = "alink";
        public const string HTML_ATT_ALINKCOLOR = "alink";
        public const string HTML_ATT_ALT = "alt";
        public const string HTML_ATT_ARCHIVE = "archive";
        public const string HTML_ATT_AXIS = "axis";
        public const string HTML_ATT_BACKGROUND = "background";
        public const string HTML_ATT_BGCOLOR = "bgcolor";
        public const string HTML_ATT_BORDER = "border";
        public const string HTML_ATT_CELLPADDING = "cellpadding";
        public const string HTML_ATT_CELLSPACING = "cellspacing";
        public const string HTML_ATT_CHARSET = "charset";
        public const string HTML_ATT_CHECKED = "checked";
        public const string HTML_ATT_CITE = "cite";
        public const string HTML_ATT_CLEAR = "clear";
        public const string HTML_ATT_CHAR = "char";
        public const string HTML_ATT_CHAROFF = "charoff";
        public const string HTML_ATT_CLASS = "class";
        public const string HTML_ATT_CODE = "code";
        public const string HTML_ATT_CODEBASE = "codebase";
        public const string HTML_ATT_CODETYPE = "codepage";
        public const string HTML_ATT_COLOR = "color";
        public const string HTML_ATT_COLSPAN = "colspan";
        public const string HTML_ATT_COLS = "cols";
        public const string HTML_ATT_COMPACT = "compact";
        public const string HTML_ATT_CONTENT = "content";
        public const string HTML_ATT_COORDS = "coords";
        public const string HTML_ATT_DATA = "data";
        public const string HTML_ATT_DATETIME = "datetime";
        public const string HTML_ATT_DECLARE = "declare";
        public const string HTML_ATT_DEFAULT_CHECKED = "defaultChecked";
        public const string HTML_ATT_DEFAULT_SELECTED = "defaultSelected";
        public const string HTML_ATT_DEFAULT_VALUE = "defaultValue";
        public const string HTML_ATT_DEFER = "defer";
        public const string HTML_ATT_DIR = "dir";
        public const string HTML_ATT_DISABLED = "disabled";
        public const string HTML_ATT_ENCTYPE = "enctype";
        public const string HTML_ATT_EVENT = "event";
        public const string HTML_ATT_FACE = "face";
        public const string HTML_ATT_FGCOLOR = "fgcolor";
        public const string HTML_ATT_FOR = "for";
        public const string HTML_ATT_FRAME = "frame";
        public const string HTML_ATT_FRAMEBORDER = "frameborder";
        public const string HTML_ATT_HEADERS = "headers";
        public const string HTML_ATT_HEIGHT = "height";
        public const string HTML_ATT_HREF = "href";
        public const string HTML_ATT_HREFLANG = "hreflang";
        public const string HTML_ATT_HSPACE = "hspace";
        public const string HTML_ATT_HTTPEQUIV = "http-equiv";
        public const string HTML_ATT_ID = "id";
        public const string HTML_ATT_ISMAP = "ismap";
        public const string HTML_ATT_LABEL = "label";
        public const string HTML_ATT_LANG = "lang";
        public const string HTML_ATT_LINK = "link";
        public const string HTML_ATT_LONGDESC = "longdesc";
        public const string HTML_ATT_MAXLENGTH = "maxlength";
        public const string HTML_ATT_MARGINHEIGHT = "marginheight";
        public const string HTML_ATT_MARGINWIDTH = "marginwidth";
        public const string HTML_ATT_MEDIA = "media";
        public const string HTML_ATT_METHOD = "method";
        public const string HTML_ATT_MULTIPLE = "multiple";
        public const string HTML_ATT_NAME = "name";
        public const string HTML_ATT_NOHREF = "nohref";
        public const string HTML_ATT_NORESIZE = "noresize";
        public const string HTML_ATT_NOWRAP = "nowrap";
        public const string HTML_ATT_NOSHADE = "noshade";
        public const string HTML_ATT_OBJECT = "object";
        public const string HTML_ATT_PROFILE = "profile";
        public const string HTML_ATT_PROMPT = "prompt";
        public const string HTML_ATT_READONLY = "readonly";
        public const string HTML_ATT_REL = "rel";
        public const string HTML_ATT_REV = "rev";
        public const string HTML_ATT_ROWS = "rows";
        public const string HTML_ATT_ROWSPAN = "rowspan";
        public const string HTML_ATT_RULES = "rules";
        public const string HTML_ATT_SCHEME = "scheme";
        public const string HTML_ATT_SCOPE = "scope";
        public const string HTML_ATT_SCROLLING = "scrolling";
        public const string HTML_ATT_SELECTED = "selected";
        public const string HTML_ATT_SHAPE = "shape";
        public const string HTML_ATT_SIZE = "size";
        public const string HTML_ATT_SPAN = "span";
        public const string HTML_ATT_SRC = "src";
        public const string HTML_ATT_STANDBY = "standby";
        public const string HTML_ATT_STYLE = "style";
        public const string HTML_ATT_SUMMARY = "summary";
        public const string HTML_ATT_TABINDEX = "tabindex";
        public const string HTML_ATT_TARGET = "target";
        public const string HTML_ATT_TEXT = "text";
        public const string HTML_ATT_TITLE = "title";
        public const string HTML_ATT_TYPE = "type";
        public const string HTML_ATT_USEMAP = "usemap";
        public const string HTML_ATT_VALIGN = "valign";
        public const string HTML_ATT_VALUE = "value";
        public const string HTML_ATT_VERSION = "version";
        public const string HTML_ATT_VLINK = "vlink";
        public const string HTML_ATT_VSPACE = "vspace";
        public const string HTML_ATT_WIDTH = "width";

        #endregion

        #region HTML Button Types

        public const string HTML_BUTTON_IMAGE = "image";
        public const string HTML_BUTTON_RESET = "reset";
        public const string HTML_BUTTON_SUBMIT = "submit";

        #endregion

        #region HTML Control Types

        public const string HTML_CONTROL_CHECKBOX = "checkbox";
        public const string HTML_CONTROL_INPUT = "input";
        public const string HTML_CONTROL_PASSWORD = "password";
        public const string HTML_CONTROL_RADIO = "radio";

        #endregion

        #region HTML Event Attributes

        public const string HTML_EVENT_COMPOSITIONEVENT = "compositionevent";
        public const string HTML_EVENT_FOCUSEVENT = "focusevent";
        public const string HTML_EVENT_HTMLEVENTS = "htmlevents";
        public const string HTML_EVENT_KEYBOARDEVENT = "keyboardevent";
        public const string HTML_EVENT_MOUSEEVENT = "mouseevent";
        public const string HTML_EVENT_MUTATIONEVENT = "mutationevent";
        public const string HTML_EVENT_PROGRESSEVENT = "progressevent";

        public const string HTML_EVENT_ABORT = "abort";
        public const string HTML_EVENT_BLUR = "blur";
        public const string HTML_EVENT_CHANGE = "change";
        public const string HTML_EVENT_CLICK = "click";
        public const string HTML_EVENT_DBLCLICK = "dblclick";
        public const string HTML_EVENT_DOM_FOCUS_IN = "domfocusin";
        public const string HTML_EVENT_DOM_FOCUS_OUT = "domfocusout";
        public const string HTML_EVENT_ERROR = "error";
        public const string HTML_EVENT_FOCUS = "focus";
        public const string HTML_EVENT_FOCUS_IN = "focusin";
        public const string HTML_EVENT_FOCUS_OUT = "focusout";
        public const string HTML_EVENT_DOM_CONTENT_LOADED = "domcontentloaded";
        public const string HTML_EVENT_LOAD = "load";
        public const string HTML_EVENT_KEYDOWN = "keydown";
        public const string HTML_EVENT_KEYPRESS = "keypress";
        public const string HTML_EVENT_KEYUP = "keyup";
        public const string HTML_EVENT_READY_STATE_CHANGE = "readystatechange";
        public const string HTML_EVENT_RESET = "reset";
        public const string HTML_EVENT_RESIZE = "resize";
        public const string HTML_EVENT_SCROLL = "scroll";
        public const string HTML_EVENT_SUBMIT = "submit";
        public const string HTML_EVENT_UNFOCUS = "unfocus";
        public const string HTML_EVENT_UNLOAD = "unload";

        public const string HTML_EVENT_ON_ABORT = "onabort";
        public const string HTML_EVENT_ON_AFTER_SCRIPT_EXECUTE = "onafterscriptexecute";
        public const string HTML_EVENT_ON_BEFORE_SCRIPT_EXECUTE = "onbeforescriptexecute";
        public const string HTML_EVENT_ON_BLUR = "onblur";
        public const string HTML_EVENT_ON_DBLCLICK = "ondblclick";
        public const string HTML_EVENT_ON_CHANGE = "onchange";
        public const string HTML_EVENT_ON_CLICK = "onclick";
        public const string HTML_EVENT_ON_FOCUS = "onfocus";
        public const string HTML_EVENT_ON_LOAD = "onload";
        public const string HTML_EVENT_ON_KEYDOWN = "onkeydown";
        public const string HTML_EVENT_ON_KEYPRESS = "onkeypress";
        public const string HTML_EVENT_ON_KEYUP = "onkeyup";
        public const string HTML_EVENT_ON_MOUSEDOWN = "onmousedown";
        public const string HTML_EVENT_ON_MOUSEMOVE = "onmousemove";
        public const string HTML_EVENT_ON_MOUSEOVER = "onmouseover";
        public const string HTML_EVENT_ON_MOUSEOUT = "onmouseout";
        public const string HTML_EVENT_ON_MOUSEUP = "onmousedown";
        public const string HTML_EVENT_ON_RESET = "onreset";
        public const string HTML_EVENT_ON_SELECT = "onselect";
        public const string HTML_EVENT_ON_SUBMIT = "onsubmit";
        public const string HTML_EVENT_ON_UNFOCUS = "onfocus";
        public const string HTML_EVENT_ON_UNLOAD = "onunload";

        #endregion

        #region HTML Input Types

        public const string HTML_INPUT_TEXT = "text";
        public const string HTML_INPUT_CHECKBOX = "checkbox";
        public const string HTML_INPUT_IMAGE = "image";
        public const string HTML_INPUT_FILE = "file";
        public const string HTML_INPUT_RADIO = "radio";
        public const string HTML_INPUT_RESET  = "reset";
        public const string HTML_INPUT_SUBMIT = "submit";

        #endregion

        #region HTML Relation Types

        public const string HTML_REL_ALTERNATE = "alternate";
        public const string HTML_REL_APPENDIX = "appendix";
        public const string HTML_REL_BOOKMARK = "bookmark";
        public const string HTML_REL_CHAPTER = "chapter";
        public const string HTML_REL_CONTENTS = "contents";
        public const string HTML_REL_COPYRIGHT = "copyright";
        public const string HTML_REL_HELP = "help";
        public const string HTML_REL_INDEX = "index";
        public const string HTML_REL_GLOSSARY = "glossary";
        public const string HTML_REL_NEXT = "next";
        public const string HTML_REL_PREV = "prev";
        public const string HTML_REL_SECTION = "section";
        public const string HTML_REL_START = "start";
        public const string HTML_REL_STYLESHEET = "stylesheet";
        public const string HTML_REL_SUBSECTION = "subsection";

        #endregion

        #region HTML Schemes

        public const string HTML_SCHEME_FILE = "file";
        public const string HTML_SCHEME_FTP = "ftp";
        public const string HTML_SCHEME_HTTP = "http";
        public const string HTML_SCHEME_HTTPS = "https";

        #endregion

        #region HTML Tag Names

        public const string HTML_TAG_ANCHOR = "a";
        public const string HTML_TAG_APPLET = "applet";
        public const string HTML_TAG_AREA = "area";
        public const string HTML_TAG_BASE = "base";
        public const string HTML_TAG_BASEFONT = "basefont";
        public const string HTML_TAG_BLOCKQUOTE = "blockquote";
        public const string HTML_TAG_BODY = "body";
        public const string HTML_TAG_BR = "br";
        public const string HTML_TAG_BUTTON = "button";
        public const string HTML_TAG_DIR = "dir";
        public const string HTML_TAG_DIV = "div";
        public const string HTML_TAG_DL = "dl";
        public const string HTML_TAG_FIELDSET = "fieldset";
        public const string HTML_TAG_FONT = "font";
        public const string HTML_TAG_FORM = "form";
        public const string HTML_TAG_FRAME = "frame";
        public const string HTML_TAG_FRAMESET = "frameset";
        public const string HTML_TAG_H1 = "h1";
        public const string HTML_TAG_H2 = "h2";
        public const string HTML_TAG_H3 = "h3";
        public const string HTML_TAG_H4 = "h4";
        public const string HTML_TAG_H5 = "h5";
        public const string HTML_TAG_H6 = "h6";
        public const string HTML_TAG_HEAD = "head";
        public const string HTML_TAG_HR = "hr";
        public const string HTML_TAG_HTML = "html";
        public const string HTML_TAG_IFRAME = "iframe";
        public const string HTML_TAG_IMG = "img";
        public const string HTML_TAG_INPUT = "input";
        public const string HTML_TAG_ISINDEX = "isindex";
        public const string HTML_TAG_LABEL = "label";
        public const string HTML_TAG_LEGEND = "legend";
        public const string HTML_TAG_LISTITEM = "li";
        public const string HTML_TAG_LINK = "link";
        public const string HTML_TAG_MAP = "map";
        public const string HTML_TAG_MENU = "menu";
        public const string HTML_TAG_META = "meta";
        public const string HTML_TAG_MOD = "mod";
        public const string HTML_TAG_OBJECT = "object";
        public const string HTML_TAG_LIST_ORDERED = "ol";
        public const string HTML_TAG_OPTGROUP = "optgroup";
        public const string HTML_TAG_OPTION = "option";
        public const string HTML_TAG_P = "p";
        public const string HTML_TAG_PARAM = "param";
        public const string HTML_TAG_PRE = "pre";
        public const string HTML_TAG_REFERRER = "referrer";
        public const string HTML_TAG_Q = "q";
        public const string HTML_TAG_SCRIPT = "script";
        public const string HTML_TAG_SELECT = "select";
        public const string HTML_TAG_STYLE = "style";
        public const string HTML_TAG_TABLE = "table";
        public const string HTML_TAG_TABLEBODY = "tbody";
        public const string HTML_TAG_TABLECAPTION = "caption";
        public const string HTML_TAG_TABLECELL = "cell";
        public const string HTML_TAG_TABLECOL = "col";
        public const string HTML_TAG_TABLEFOOT = "tfoot";
        public const string HTML_TAG_TABLEHEAD = "thead";
        public const string HTML_TAG_TABLEROW = "tr";
        public const string HTML_TAG_TEXTAREA = "textarea";
        public const string HTML_TAG_TITLE = "title";
        public const string HTML_TAG_LIST_UNORDERED = "ul";

        #endregion

        #region HTML Verb Names

        public const string HTTP_VERB_GET = "get";
        public const string HTTP_VERB_POST = "post";

        #endregion
    }
}
